package Tranasctional;

import cn.hutool.core.util.ObjectUtil;
import org.junit.Test;

public class A {

    public static void main(String[] args) {

//        String a ="20220525";
//        String s = a.substring(0, 4) + "-" + a.substring(4, 6) + "-" + a.substring(6, 8);
//        System.out.println(s);

        String l = "冀A32131";
        String substring = l.substring(0, 2);
        System.out.println(substring);


    }


}
